.class Lcom/netease/newsreader/activity/SelectColumn$2;
.super Ljava/lang/Object;
.source "SelectColumn.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/SelectColumn;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/SelectColumn;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/SelectColumn;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/SelectColumn$2;->this$0:Lcom/netease/newsreader/activity/SelectColumn;

    .line 221
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 5
    .parameter "buttonView"
    .parameter "isChecked"

    .prologue
    .line 228
    :try_start_0
    invoke-virtual {p1}, Landroid/widget/CompoundButton;->getId()I

    move-result v2

    .line 229
    .local v2, i:I
    iget-object v3, p0, Lcom/netease/newsreader/activity/SelectColumn$2;->this$0:Lcom/netease/newsreader/activity/SelectColumn;

    invoke-static {v3}, Lcom/netease/newsreader/activity/SelectColumn;->access$1(Lcom/netease/newsreader/activity/SelectColumn;)Lcom/netease/newsreader/util/MergeAdapter;

    move-result-object v3

    invoke-virtual {v3, v2}, Lcom/netease/newsreader/util/MergeAdapter;->getItem(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/util/HashMap;

    const-string v4, "checkbox"

    invoke-virtual {v3, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    .line 230
    .local v0, checkbox_map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    if-eqz p2, :cond_0

    .line 231
    const-string v3, "checkbox_status"

    const-string v4, "true"

    invoke-virtual {v0, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 239
    .end local v0           #checkbox_map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .end local v2           #i:I
    :goto_0
    iget-object v3, p0, Lcom/netease/newsreader/activity/SelectColumn$2;->this$0:Lcom/netease/newsreader/activity/SelectColumn;

    invoke-static {v3}, Lcom/netease/newsreader/activity/SelectColumn;->access$1(Lcom/netease/newsreader/activity/SelectColumn;)Lcom/netease/newsreader/util/MergeAdapter;

    move-result-object v3

    invoke-virtual {v3}, Lcom/netease/newsreader/util/MergeAdapter;->notifyDataSetChanged()V

    .line 240
    return-void

    .line 233
    .restart local v0       #checkbox_map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .restart local v2       #i:I
    :cond_0
    :try_start_1
    const-string v3, "checkbox_status"

    const-string v4, "false"

    invoke-virtual {v0, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    .line 235
    .end local v0           #checkbox_map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    .end local v2           #i:I
    :catch_0
    move-exception v1

    .line 237
    .local v1, e:Ljava/lang/Exception;
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method
